package mortal.common.global
{

    public class PathConst extends Object
    {
        private static var _mainPath:String = "";
        public static var configUrl:String = "";
        public static var createRoleUrl:String;
        public static var gameUrl:String;
        public static var mapPath:String;
        public static var modelPath:String;
        public static var isPay:Boolean = true;

        public function PathConst()
        {
            
        }

        public static function get mainPath() : String
        {
            return _mainPath;
        }

        public static function set mainPath(param1:String) : void
        {
            _mainPath = param1;
            createRoleUrl = _mainPath + ParamsConst.instance.createRoleUrl;
            gameUrl = _mainPath + ParamsConst.instance.gameUrl;
            configUrl = _mainPath + ParamsConst.instance.configUrl;
            mapPath = _mainPath + "otherRes/maps/";
            modelPath = _mainPath + "assets/models/";
            
        }

    }
}
